from django.db import models

# Create your models here.


class Picture(models.Model):
    """
    照片类
    """

    title = models.CharField(max_length=50)  # 标题
    pic_url = models.CharField(max_length=2000)  # 图片路径
    s_pic_url = models.CharField(max_length=2000, default="")  # 缩略图路径
    upload_date = models.DateTimeField()  # 上传时间
    isDelete = models.BooleanField(default=False)  # 假删

    objects = models.Manager()
